package cn.xiaobai;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

/**
 * @Author yangdaji
 * @Date 2023/12/23
 * @PackageName PACKAGE_NAME
 * @ClassName cn.xiaobai.Test
 */
public class Test {

    @org.junit.Test
    public void test() {
/*url=jdbc:mysql://192.168.1.3:3306/toolsys?
username=root
password=xiaobai*/

        try {
            Connection connection = DriverManager.getConnection("jdbc:mysql://192.168.1.3:3306/toolsys?", "root", "xiaobai");
            System.out.println(connection);
        } catch (SQLException e) {
            throw new RuntimeException(e);
        }

    }
}
